home *** CD-ROM | disk | FTP | other *** search
/ MacFormat UK 127 / MF_UK_127_1.iso / pc / Game Demos / Wolfenstein Demo / demomain / pak0.pk3 / scripts / liquid.shader < prev    next >
Encoding:
Text File  |  2001-11-20  |  33.3 KB  |  1,641 lines

  1. textures/liquids/water_ripple1
  2.  
  3. //    *********************************************************
  4. //    *      Large clear ripple water. Created September 9      *
  5. //    *              Comment all changes                   *
  6. //    *********************************************************
  7.     
  8.     {
  9.         qer_editorimage textures/liquids/pool3d_3.tga
  10.         qer_trans .5
  11.         q3map_globaltexture
  12.         surfaceparm trans
  13.         surfaceparm nonsolid
  14.         surfaceparm water
  15.  
  16.         cull disable
  17.         deformVertexes wave 64 sin .5 .5 0 .5    
  18.     
  19.         
  20.         { 
  21.             map textures/liquids/pool3d_5.tga
  22.             blendFunc GL_dst_color GL_one
  23.             rgbgen identity
  24.             tcmod scale .5 .5
  25.             tcmod transform 1.5 0 1.5 1 1 2
  26.             tcmod scroll -.05 .001
  27.         }
  28.     
  29.         { 
  30.             map textures/liquids/pool3d_6.tga
  31.             blendFunc GL_dst_color GL_one
  32.             rgbgen identity
  33.             tcmod scale .5 .5
  34.             tcmod transform 0 1.5 1 1.5 2 1
  35.             tcmod scroll .025 -.001
  36.         }
  37.  
  38.         { 
  39.             map textures/liquids/pool3d_3.tga
  40.             blendFunc GL_dst_color GL_one
  41.             rgbgen identity
  42.             tcmod scale .25 .5
  43.             tcmod scroll .001 .025
  44.         }    
  45.  
  46.         {
  47.             map $lightmap
  48.             blendFunc GL_dst_color GL_zero
  49.             rgbgen identity        
  50.         }
  51. //    END
  52.     }
  53. ///// maxx water /////
  54.  
  55. textures/liquids/water_m1
  56.  
  57. //    *********************************************************
  58. //    *      Large clear ripple water. Created September 9      *
  59. //    *              Comment all changes                   *
  60. //    *********************************************************
  61.     
  62.     {
  63.         qer_editorimage textures/liquids/water_m1.tga
  64.         qer_trans .5
  65.         q3map_globaltexture
  66.         surfaceparm trans
  67.         surfaceparm nonsolid
  68.         surfaceparm water
  69.  
  70.         cull disable
  71.         deformVertexes wave 32 sin 1 .4 0 .5    
  72.     
  73.         
  74.         { 
  75.             map textures/liquids/water_m1.tga
  76.         //    blendFunc GL_dst_color GL_one
  77.             rgbgen identity
  78.             tcmod scale 1 1
  79.             tcmod stretch scale 2 .2 0 .1
  80.         //    tcmod rotate 3
  81.         //    tcmod stretch scroll 2 .2 0 .1
  82.         //    tcmod transform 1.5 0 1.5 1 1 2
  83.         //    tcmod scroll -.05 .001
  84.         
  85.         }
  86.  
  87.         {
  88.             map textures/effects/wdfx2.tga
  89.             blendFunc GL_ONE_MINUS_DST_ALPHA GL_ONE
  90.             tcGen environment
  91.             tcmod scale 1 1
  92.             rgbGen vertex
  93.         }
  94.  
  95.  
  96.  
  97.  
  98.     
  99.     //    { 
  100.     //        map textures/liquids/pool3d_6.tga
  101.     //        blendFunc GL_dst_color GL_one
  102.     //        rgbgen identity
  103.     //        tcmod scale .5 .5
  104.     //        tcmod transform 0 1.5 1 1.5 2 1
  105.     //        tcmod scroll .025 -.001
  106.     //    }
  107.  
  108.     //    { 
  109.     //        map textures/liquids/pool3d_3.tga
  110.     //        blendFunc GL_dst_color GL_one
  111.     //        rgbgen identity
  112.     //        tcmod scale .25 .5
  113.     //        tcmod scroll .001 .025
  114.     //    }    
  115.  
  116.         {
  117.             map $lightmap
  118.             blendFunc GL_dst_color GL_zero
  119.             rgbgen identity        
  120.         }
  121. //    END
  122.     }
  123.  
  124. textures/liquids/water_ripple3_10
  125.  
  126. //    *********************************************************
  127. //    *                  Maxx                *
  128. //    *              Comment all changes                       *
  129. //    *********************************************************
  130.         
  131.     {
  132.         qer_editorimage textures/liquids/water_m1.tga
  133.         qer_trans .5
  134.         q3map_globaltexture
  135.         surfaceparm trans
  136.         surfaceparm nonsolid
  137.         surfaceparm water
  138.     
  139.         cull disable
  140.     //    deformVertexes wave 64 sin 3 .7 .8 .25
  141.         deformVertexes wave 64 sin 0 1 .75 .2
  142.         deformVertexes wave 64 sin 0 1 .25 .15    
  143.         { 
  144.             map textures/liquids/water_m5.tga
  145.         //    blendFunc GL_dst_color GL_one
  146.             rgbgen identity
  147.             tcmod scale .85 .45
  148.         //    tcmod stretch 0 1 .01 0 .25 1
  149.             tcmod scroll .005 -.005
  150.         }    
  151.  
  152.     
  153.         { 
  154.         //    map textures/liquids/water_m1.tga
  155.             map textures/liquids/water_m4.tga
  156.             blendFunc GL_dst_color GL_one
  157.             rgbgen identity        
  158.             tcmod scale -.85 .45
  159.         //    tcmod stretch 0 1 .01 0 .25 1
  160.         //    tcmod rotate 5 
  161.             tcmod scroll -.01 .0051
  162.         }
  163.  
  164.         { 
  165.         //    map textures/liquids/water_m1.tga
  166.         //    map textures/liquids/water_m4.tga
  167.         //    blendFunc GL_dst_color GL_one
  168.         //    rgbgen identity
  169.         //    tcmod scale .4 .5
  170.         //    tcmod stretch 0 1 .01 0 .25 1
  171.         //    tcmod scroll -.005 -.0055
  172.         }
  173.     
  174.         {
  175.             map $lightmap
  176.             blendFunc GL_dst_color GL_zero
  177.             rgbgen identity        
  178.         }
  179.     
  180.  
  181. //    END
  182.     }
  183.  
  184. textures/liquids/water_ripple3_10
  185.  
  186. //    *********************************************************
  187. //    *                  Maxx                *
  188. //    *              Comment all changes                       *
  189. //    *********************************************************
  190.         
  191.     {
  192.         qer_editorimage textures/liquids/water_m1.tga
  193.         qer_trans .5
  194.         q3map_globaltexture
  195.         surfaceparm trans
  196.         surfaceparm nonsolid
  197.         surfaceparm water
  198.     
  199.         cull disable
  200.     //    deformVertexes wave 64 sin 3 .7 .8 .25
  201.         deformVertexes wave 64 sin 0 1 .75 .2
  202.         deformVertexes wave 64 sin 0 1 .25 .15    
  203.         { 
  204.             map textures/liquids/water_m5.tga
  205.         //    blendFunc GL_dst_color GL_one
  206.             rgbgen identity
  207.             tcmod scale .85 .45
  208.         //    tcmod stretch 0 1 .01 0 .25 1
  209.             tcmod scroll .005 -.005
  210.         }    
  211.  
  212.     
  213.         { 
  214.         //    map textures/liquids/water_m1.tga
  215.             map textures/liquids/water_m4.tga
  216.             blendFunc GL_dst_color GL_one
  217.             rgbgen identity        
  218.             tcmod scale -.85 .45
  219.         //    tcmod stretch 0 1 .01 0 .25 1
  220.         //    tcmod rotate 5 
  221.             tcmod scroll -.01 .0051
  222.         }
  223.  
  224.         //{ 
  225.         //    map textures/liquids/water_m1.tga
  226.         //    map textures/liquids/water_m4.tga
  227.         //    blendFunc GL_dst_color GL_one
  228.         //    rgbgen identity
  229.         //    tcmod scale .4 .5
  230.         //    tcmod stretch 0 1 .01 0 .25 1
  231.         //    tcmod scroll -.005 -.0055
  232.         //}
  233.     
  234.         {
  235.             map $lightmap
  236.             blendFunc GL_dst_color GL_zero
  237.             rgbgen identity        
  238.         }
  239.     
  240.  
  241. //    END
  242.     }
  243.  
  244. textures/liquids/water_beach3
  245.  
  246.  
  247. //    *********************************************************
  248. //    *                  Maxx                *
  249. //    *              Comment all changes                       *
  250. //    *********************************************************
  251.         
  252.     {
  253.         qer_editorimage textures/liquids/ocean_m1.tga
  254.         qer_trans .5
  255.         q3map_globaltexture
  256.         surfaceparm trans
  257.         surfaceparm nonsolid
  258.         surfaceparm water
  259.     
  260.         cull disable
  261.     //    deformVertexes wave 64 sin 3 .7 .8 .25
  262.         deformVertexes wave 32 sin 0 10 .75 .1
  263.     //    deformVertexes wave 32 sin 0 20 .25 .1    
  264.         { 
  265.             map textures/liquids/ocean_m1.tga
  266.         //    blendFunc GL_dst_color GL_one
  267.             rgbgen identity
  268.             tcmod scale .8 .7
  269.         //    tcmod stretch 0 1 .01 0 .25 1
  270.             tcmod scroll .00 -.01
  271.         }
  272.     {
  273.         animMap 9 textures/liquids/ocean13.tga textures/liquids/ocean01.tga textures/liquids/ocean02.tga textures/liquids/ocean03.tga textures/liquids/ocean04.tga textures/liquids/ocean05.tga textures/liquids/ocean06.tga textures/liquids/ocean07.tga textures/liquids/ocean08.tga textures/liquids/ocean09.tga textures/liquids/ocean10.tga textures/liquids/ocean11.tga textures/liquids/ocean12.tga
  274.  
  275.         blendFunc GL_dst_color GL_one
  276.         rgbGen identity
  277.         tcmod scroll .01 .01
  278.     }    
  279.  
  280.     {
  281.            map $lightmap
  282.         blendFunc GL_dst_color GL_zero
  283.         rgbgen identity        
  284.     }
  285.     
  286.  
  287. //    END
  288.     }
  289.  
  290.  
  291.  
  292. textures/liquids/water_beach2a
  293. {
  294.  
  295.  
  296.     qer_editorimage textures/liquids/ocean01.tga
  297.     qer_trans .5
  298.     q3map_globaltexture
  299.     surfaceparm trans
  300.     surfaceparm nonsolid
  301.     surfaceparm water
  302.  
  303.     deformVertexes wave 32 sin 0 10 .75 .1
  304.  
  305.  
  306.     {
  307.         animMap 8 textures/liquids/ocean01.tga textures/liquids/ocean02.tga textures/liquids/ocean03.tga textures/liquids/ocean04.tga textures/liquids/ocean05.tga textures/liquids/ocean06.tga textures/liquids/ocean07.tga textures/liquids/ocean08.tga textures/liquids/ocean09.tga textures/liquids/ocean10.tga textures/liquids/ocean11.tga textures/liquids/ocean12.tga textures/liquids/ocean13.tga
  308.  
  309.     //    blendfunc gl_one gl_one
  310.     //    blendFunc GL_SRC_ALPHA GL_ONE
  311.         rgbGen identity
  312.         tcmod scroll .00 -.01
  313.     }    
  314.     {
  315.         animMap 8 textures/liquids/ocean13.tga textures/liquids/ocean01.tga textures/liquids/ocean02.tga textures/liquids/ocean03.tga textures/liquids/ocean04.tga textures/liquids/ocean05.tga textures/liquids/ocean06.tga textures/liquids/ocean07.tga textures/liquids/ocean08.tga textures/liquids/ocean09.tga textures/liquids/ocean10.tga textures/liquids/ocean11.tga textures/liquids/ocean12.tga
  316.  
  317.         blendFunc GL_dst_color GL_one
  318.         rgbGen identity
  319.         tcmod scroll .01 .01
  320.     }
  321.     {
  322.             map $lightmap
  323.             blendFunc GL_dst_color GL_zero
  324.             rgbgen identity
  325.         
  326.     }
  327.  
  328.     
  329.  
  330. }
  331. textures/liquids/water_beach_old
  332.  
  333.  
  334. //    *********************************************************
  335. //    *                  Maxx                *
  336. //    *              Comment all changes                       *
  337. //    *********************************************************
  338.         
  339.     {
  340.         qer_editorimage textures/liquids/ocean_m1.tga
  341.         qer_trans .5
  342.         q3map_globaltexture
  343.         surfaceparm trans
  344.         surfaceparm nonsolid
  345.         surfaceparm water
  346.     
  347.         cull disable
  348.     //    deformVertexes wave 64 sin 3 .7 .8 .25
  349.         deformVertexes wave 32 sin 0 5 .75 .2
  350.     //    deformVertexes wave 32 sin 0 20 .25 .1    
  351.         { 
  352.             map textures/liquids/ocean_m1.tga
  353.         //    blendFunc GL_dst_color GL_one
  354.             rgbgen identity
  355.             tcmod scale .4 .2
  356.         //    tcmod stretch 0 1 .01 0 .25 1
  357.             tcmod scroll .00 .01
  358.         }    
  359.  
  360.     
  361.         { 
  362.         //    map textures/liquids/water_m1.tga
  363.             map textures/liquids/ocean_m2.tga
  364.             blendFunc GL_dst_color GL_one
  365.             rgbgen identity        
  366.             tcmod scale -.6 .5
  367.         //    tcmod stretch 0 1 .01 0 .25 1
  368.         //    tcmod rotate 5 
  369.             tcmod scroll .01 .01
  370.         }
  371.  
  372.     
  373.     
  374.         {
  375.             map $lightmap
  376.             blendFunc GL_dst_color GL_zero
  377.             rgbgen identity        
  378.         }
  379.     
  380.  
  381. //    END
  382.     }
  383.  
  384. textures/liquids/ocean_m3
  385.  
  386.  
  387. //    *********************************************************
  388. //    *                  Maxx                *
  389. //    *              Comment all changes                       *
  390. //    *********************************************************
  391.         
  392.     {
  393.         qer_editorimage textures/liquids/ocean_m3.tga
  394.         qer_trans .5
  395.         q3map_globaltexture
  396.         surfaceparm trans
  397.         surfaceparm nonsolid
  398.         surfaceparm water
  399.     
  400.         cull disable
  401.     //    deformVertexes wave 64 sin 3 .7 .8 .25
  402.         deformVertexes wave 32 sin 0 5 .75 .2
  403.     //    deformVertexes wave 32 sin 0 3 .25 .1    
  404.         
  405.  
  406.     
  407.         { 
  408.         //    map textures/liquids/water_m1.tga
  409.             map textures/liquids/ocean_m3.tga
  410.         //    blendFunc GL_dst_color GL_one
  411.             blendFunc GL_ONE GL_ONE
  412.         //    alphaFunc GE128
  413.             rgbgen identity        
  414.             tcmod scale -.6 .5
  415.             tcmod stretch 0 1 .01 0 .25 1
  416.         //    tcmod rotate 5 
  417.         //    tcmod scroll .01 .01
  418.         }
  419.     //    {
  420.         //    map $lightmap
  421.         //    blendFunc GL_dst_color GL_zero
  422.         //    rgbgen identity        
  423.     //    }
  424.  
  425.  
  426.  
  427. //    END
  428.     }
  429.  
  430. textures/liquids/xwater_waste
  431.  
  432. //    *********************************************************
  433. //    *                  Maxx                *
  434. //    *              Comment all changes                       *
  435. //    *********************************************************
  436.         
  437.     {
  438.         qer_editorimage textures/liquids/water_m7.tga
  439.         qer_trans .5
  440.         q3map_globaltexture
  441.     //    surfaceparm trans
  442.         surfaceparm nonsolid
  443.         surfaceparm water
  444.         surfaceparm lava
  445.     
  446.         cull disable
  447.         deformVertexes wave 64 sin .5 .2 0 .5    
  448.         { 
  449.             map textures/liquids/water_m7.tga
  450.             blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  451.         //    blendFunc GL_dst_color GL_one
  452.             rgbgen vertex
  453.             tcmod scale .3 .5
  454.             tcmod stretch 0 1 .01 0 .25 1
  455.             tcmod scroll .005 .005
  456.         }    
  457.  
  458.     
  459.         { 
  460.         //    map textures/liquids/water_m1.tga
  461.         //    map textures/liquids/water_m4.tga
  462.         //    blendFunc GL_dst_color GL_one
  463.         //    rgbgen identity        
  464.         //    tcmod scale -.4 .3
  465.         //    tcmod stretch 0 1 .01 0 .25 1
  466.         //    tcmod rotate 5 
  467.     ///        tcmod scroll -.005 .0051
  468.         }
  469.  
  470.         { 
  471.         //    map textures/liquids/water_m1.tga
  472.     //        map textures/liquids/water_m4.tga
  473.     //        blendFunc GL_dst_color GL_one
  474.     //        rgbgen identity
  475.             tcmod scale .4 .5
  476.         //    tcmod stretch 0 1 .01 0 .25 1
  477.     //        tcmod scroll -.005 -.0055
  478.         }
  479.     
  480.         {
  481.             map $lightmap
  482.             blendFunc GL_dst_color GL_zero
  483.             rgbgen identity        
  484.         }
  485.     
  486.  
  487. //    END
  488.     }
  489.  
  490. textures/liquids/xwater_waste2
  491.  
  492. //    *********************************************************
  493. //    *                  Maxx                *
  494. //    *              Comment all changes                       *
  495. //    *********************************************************
  496.  
  497. //    q3map_globaltexture
  498. //    surfaceparm trans
  499. //    //surfaceparm nonsolid
  500. //    surfaceparm noimpact
  501. //    surfaceparm lava
  502. //    surfaceparm nolightmap
  503. //    q3map_surfacelight 600
  504. //    cull disable
  505.     
  506. //    tesssize 128
  507.  
  508.         
  509. {
  510.  
  511.         surfaceparm trans
  512.         qer_editorimage textures/liquids/water_m5.tga
  513.     //    qer_trans .5
  514.         q3map_globaltexture
  515.     //    surfaceparm trans
  516.         surfaceparm nonsolid
  517.         surfaceparm water
  518.     
  519.         cull disable
  520.  
  521.     
  522.     tesssize 128
  523.     deformVertexes wave 20 sin 3 2 .1 0.1
  524.     
  525.         {
  526.         map textures/liquids/water_m7.tga
  527.                 tcmod scale .2 .2
  528.                 tcmod scroll .0004 .0003
  529.                 tcMod turb 0 .1 0 .01
  530.                 blendFunc GL_ONE GL_ZERO
  531.                 rgbGen identity
  532.     }
  533.     {
  534.         map textures/liquids/water_m6.tga
  535.             tcmod scale .5 .5
  536.                 blendfunc blend
  537.         tcMod turb 0 .02 0 .01
  538.     }
  539.  
  540. }
  541.  
  542. textures/liquids/xwater_waste3
  543.  
  544.  
  545. //    *********************************************************
  546. //    *      Large clear ripple water. Created September 9      *
  547. //    *              Comment all changes                   *
  548. //    *********************************************************
  549.     
  550.     {
  551.         qer_editorimage textures/liquids/pool3d_3.tga
  552.         qer_trans .5
  553.         q3map_globaltexture
  554.         surfaceparm trans
  555.         surfaceparm nonsolid
  556.         surfaceparm water
  557.  
  558.         cull disable
  559.         deformVertexes wave 64 sin .5 .5 0 .2    
  560.     
  561.         
  562.         { 
  563.             map textures/liquids/pool3d_5m.tga
  564.             blendFunc GL_dst_color GL_one
  565.             rgbgen identity
  566.             tcmod scale 1 1
  567.             tcmod transform 1.5 0 1.5 1 1 2
  568.             tcmod scroll -.01 .0005
  569.         }
  570.     
  571.         { 
  572.             map textures/liquids/pool3d_6m.tga
  573.             blendFunc GL_dst_color GL_one
  574.             rgbgen identity
  575.             tcmod scale 1 1
  576.             tcmod transform 0 1.5 1 1.5 2 1
  577.             tcmod scroll .005 -.001
  578.         }
  579.  
  580.         { 
  581.             map textures/liquids/pool3d_3m.tga
  582.             blendFunc GL_dst_color GL_one
  583.             rgbgen identity
  584.             tcmod scale .5 .5
  585.             tcmod scroll .0005 .005
  586.         }    
  587.  
  588.         {
  589.             map $lightmap
  590.             blendFunc GL_dst_color GL_zero
  591.             rgbgen identity        
  592.         }
  593. //    END
  594.     }
  595.  
  596.  
  597. textures/liquids/water_shore
  598.  
  599. //    *********************************************************
  600. //    *                  Maxx                *
  601. //    *              Comment all changes                       *
  602. //    *********************************************************        
  603. {
  604.  
  605.         surfaceparm trans
  606.         qer_editorimage textures/assault_rock/ground_m07wet.tga
  607.     //    qer_trans .5
  608.     //    q3map_globaltexture
  609.     //    surfaceparm trans
  610.     //    surfaceparm nonsolid
  611.     //    surfaceparm water
  612.     
  613.         cull disable
  614.  
  615.     //    { 
  616.         //    map textures/liquids/water_m1.tga
  617.         //    map textures/liquids/ocean_m3.tga
  618.         //    blendFunc GL_dst_color GL_one
  619.     //        blendFunc GL_ONE GL_ZERO
  620.         //    alphaFunc GE128
  621.     //        rgbgen identity        
  622.     //        tcmod scale -.6 .5
  623.     //        tcmod stretch 0 -1 .01 0 .25 1
  624.         //    tcmod rotate 5 
  625.         //    tcmod scroll .01 .01
  626.     //    }
  627.     {
  628.         map textures/liquids/ocean_m1b.tga
  629.     //        tcmod scale 1 1
  630.         blendFunc GL_ONE GL_ZERO
  631.         //    blendfunc blend
  632.     //    tcMod turb 0 .02 0 .01
  633.         tcmod scale .4 .2
  634.         tcmod scroll .00 .01
  635.          rgbGen identity
  636.     }
  637.     { 
  638. //        map textures/liquids/water_m1.tga
  639.         map textures/liquids/ocean_m1b.tga
  640.         blendFunc GL_dst_color GL_one
  641.         rgbgen identity        
  642.         tcmod scale -.6 .5
  643. //        tcmod stretch 0 1 .01 0 .25 1
  644. //        tcmod rotate 5 
  645.         tcmod scroll .01 .01
  646.     }
  647.  
  648.         {
  649.         map textures/assault_rock/ground_m07wet.tga
  650.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  651.         rgbGen identity
  652.     }
  653.         {
  654.         map $lightmap
  655.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  656.         rgbGen identity
  657.     }
  658.  
  659.  
  660.  
  661. }
  662.  
  663. textures/assault_rock/ground_m07wet
  664.  
  665. //    *********************************************************
  666. //    *                  Maxx                *
  667. //    *              Comment all changes                       *
  668. //    *********************************************************        
  669. {
  670.  
  671.         surfaceparm trans
  672.         qer_editorimage textures/assault_rock/ground_m07wet.tga
  673.     //    qer_trans .5
  674.     //    q3map_globaltexture
  675.     //    surfaceparm trans
  676.     //    surfaceparm nonsolid
  677.     //    surfaceparm water
  678.     
  679.         cull disable
  680.  
  681.  
  682.     {
  683.         map textures/liquids/ocean_m1aa.tga
  684.     //        tcmod scale 1 1
  685.         blendFunc GL_ONE GL_ZERO
  686.         //    blendfunc blend
  687.     //    tcMod turb 0 .02 0 .01
  688.         tcmod scale 1 1
  689.         tcmod scroll .00 .0051
  690.     //    tcmod stretch 0 1 .01 0 .25 1
  691.          rgbGen identity
  692.     }
  693. //    { 
  694. //        map textures/liquids/water_m1.tga
  695. //        map textures/liquids/ocean_m1b.tga
  696. //        blendFunc GL_dst_color GL_one
  697. //        rgbgen identity        
  698. //        tcmod scale -.6 .5
  699. //        tcmod stretch 0 1 1 0 .1 1
  700. //        tcmod rotate 5 
  701. //        tcmod scroll .01 .01
  702. //    }
  703.  
  704.         {
  705.         map textures/assault_rock/ground_m07wet.tga
  706.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  707.         rgbGen identity
  708.     }
  709.         {
  710.         map $lightmap
  711.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  712.         rgbGen identity
  713.     }
  714.  
  715.  
  716.  
  717. }
  718.  
  719. textures/assault_rock/ground_m08wet
  720.  
  721. //    *********************************************************
  722. //    *                  Maxx                *
  723. //    *              Comment all changes                       *
  724. //    *********************************************************        
  725. {
  726.  
  727.         surfaceparm trans
  728.         qer_editorimage textures/assault_rock/ground_m08wet.tga
  729.     //    qer_trans .5
  730.     //    q3map_globaltexture
  731.     //    surfaceparm trans
  732.     //    surfaceparm nonsolid
  733.     //    surfaceparm water
  734.     
  735.         cull disable
  736.  
  737.  
  738.     {
  739.         map textures/liquids/ocean_m1aa.tga
  740.     //        tcmod scale 1 1
  741.         blendFunc GL_ONE GL_ZERO
  742.         //    blendfunc blend
  743.     //    tcMod turb 0 .02 0 .01
  744.         tcmod scale 1 1
  745.     //    tcmod stretch 0 1 .01 0 .25 1
  746.     //    tcmod turb 0 1 .01 0 .25 1
  747.         tcmod scroll .00 .0051
  748.          rgbGen identity
  749.     }
  750. //    { 
  751. //        map textures/liquids/water_m1.tga
  752. ///        map textures/liquids/ocean_m1b.tga
  753. //        blendFunc GL_dst_color GL_one
  754. //        rgbgen identity        
  755. //        tcmod scale -.6 .5
  756. //        tcmod stretch 0 1 .01 0 .25 1
  757. //        tcmod rotate 5 
  758. //        tcmod scroll .01 .01
  759. //    }
  760.  
  761.         {
  762.         map textures/assault_rock/ground_m08wet.tga
  763.                 blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  764.         rgbGen identity
  765.     }
  766.         {
  767.         map $lightmap
  768.                 blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA
  769.         rgbGen identity
  770.     }
  771.  
  772.  
  773.  
  774. }
  775.  
  776. textures/liquids/water_shore2
  777. {
  778.  
  779.     qer_editorimage textures/assault_rock/ground_m07.tga
  780.     qer_trans .5
  781.     q3map_globaltexture
  782.     surfaceparm trans
  783.     surfaceparm nonsolid
  784.     surfaceparm water
  785.     qer_nocarve
  786.     tesssize 128
  787.     
  788.     cull disable
  789. ///    deformVertexes wave 64 sin 3 .7 .8 .25
  790. //    deformVertexes wave 32 sin 0 5 .75 .2
  791. ///    deformVertexes wave 32 sin 0 20 .25 .1    
  792.  
  793.     nofog
  794. //    deformVertexes wave 135 sin 0 10 0 .07    // the swell
  795. ///    deformVertexes wave 383 sin 0 15 0 .1    // the chop
  796.     deformVertexes wave 160 sin 0 10 0 .3    // the chop
  797.     
  798.     {
  799.         
  800.         map textures/liquids/ocean_m1c.tga
  801.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  802.         tcmod scale .4 .2
  803.         tcmod scroll .00 .01
  804.          rgbGen identity
  805.     }
  806.  
  807. }
  808.  
  809. textures/liquids/water_ripple3
  810.  
  811.  
  812. //    *********************************************************
  813. //    *      Medium clear ripple water. Created September 9      *
  814. //    *              Comment all changes                   *
  815. //    *********************************************************
  816.         
  817.     {
  818.         qer_editorimage textures/liquids/pool3d_3c.tga
  819.         qer_trans .5
  820.         q3map_globaltexture
  821.         surfaceparm trans
  822.         surfaceparm nonsolid
  823.         surfaceparm water
  824.     
  825.         cull disable
  826.         deformVertexes wave 64 sin .5 .5 0 .5    
  827.         
  828.         { 
  829.             map textures/liquids/pool3d_5c.tga
  830.             blendFunc GL_dst_color GL_one
  831.             rgbgen identity
  832.             tcmod scale .5 .5
  833.             tcmod transform 1.5 0 1.5 1 1 2
  834.             tcmod scroll -.05 .001
  835.         }
  836.     
  837.         { 
  838.             map textures/liquids/pool3d_6c.tga
  839.             blendFunc GL_dst_color GL_one
  840.             rgbgen identity
  841.             tcmod scale .5 .5
  842.             tcmod transform 0 1.5 1 1.5 2 1
  843.             tcmod scroll .025 -.001
  844.         }
  845.  
  846.         { 
  847.             map textures/liquids/pool3d_3c.tga
  848.             blendFunc GL_dst_color GL_one
  849.             rgbgen identity
  850.             tcmod scale .25 .5
  851.             tcmod scroll .001 .025
  852.         }
  853.     
  854.         {
  855.             map $lightmap
  856.             blendFunc GL_dst_color GL_zero
  857.             rgbgen identity        
  858.         }
  859.     
  860.  
  861. //    END
  862.     }
  863.  
  864. textures/liquids/water_calm1
  865.  
  866. //    *********************************************************
  867. //    *      Medium clear calm water. Created September 9      *
  868. //    *              Comment all changes                   *
  869. //    *********************************************************
  870.         
  871.     {
  872.         qer_editorimage textures/liquids/pool3d_3e.tga
  873.         qer_trans .5
  874.         q3map_globaltexture
  875.         surfaceparm trans
  876.         surfaceparm nonsolid
  877.         surfaceparm water
  878.     
  879.         cull disable
  880.         deformVertexes wave 64 sin .25 .25 0 .5    
  881.         { 
  882.             map textures/liquids/pool3d_5e.tga
  883.             blendFunc GL_dst_color GL_one
  884.             rgbgen identity
  885.             tcmod scale .5 .5
  886.             tcmod scroll .025 .01
  887.         }
  888.     
  889.         { 
  890.             map textures/liquids/pool3d_3e.tga
  891.             blendFunc GL_dst_color GL_one
  892.             tcmod scale -.5 -.5
  893.             tcmod scroll .025 .025
  894.         }
  895.  
  896.     
  897.         {
  898.             map $lightmap
  899.             blendFunc GL_dst_color GL_zero
  900.             rgbgen identity        
  901.         }
  902.     
  903.     
  904.  
  905. //    END
  906.     }
  907.  
  908. textures/liquids/water_calm2
  909.  
  910. //    *********************************************************
  911. //    *      Medium clear ripple water. Created September 9      *
  912. //    *              Comment all changes                   *
  913. //    *********************************************************
  914.         
  915.     {
  916.         qer_editorimage textures/liquids/pool3d_3c.tga
  917.         qer_trans .5
  918.         q3map_globaltexture
  919.         surfaceparm trans
  920.         surfaceparm nonsolid
  921.         surfaceparm water
  922.     
  923.     nofog
  924.         cull disable
  925.         
  926.         { 
  927.         fog on
  928.             map textures/liquids/pool3d_5c.tga
  929.             blendFunc GL_dst_color GL_one
  930.             rgbgen identity
  931.             tcmod scale .5 .5
  932.             tcmod transform 1.5 0 1.5 1 1 2
  933.             tcmod scroll -.05 .001
  934.         }
  935.     
  936.         { 
  937.         fog on
  938.             map textures/liquids/pool3d_6c.tga
  939.             blendFunc GL_dst_color GL_one
  940.             rgbgen identity
  941.             tcmod scale .5 .5
  942.             tcmod transform 0 1.5 1 1.5 2 1
  943.             tcmod scroll .025 -.001
  944.         }
  945.  
  946.         { 
  947.             map textures/liquids/pool3d_3c.tga
  948.             blendFunc GL_dst_color GL_one
  949.             rgbgen identity
  950.             tcmod scale .25 .5
  951.             tcmod scroll .001 .025
  952.         }
  953.     
  954.         {
  955.             map $lightmap
  956.             blendFunc GL_dst_color GL_zero
  957.             rgbgen identity        
  958.         }
  959.     
  960.  
  961. //    END
  962.     }
  963.     
  964.     
  965.  
  966. textures/liquids/water_xlab1
  967.  
  968. //Sippy's Test Water
  969.         
  970.     {
  971.         qer_editorimage textures/liquids/pool3d_3f.tga
  972.         qer_trans .5
  973.         q3map_globaltexture
  974.         surfaceparm trans
  975.         surfaceparm nonsolid
  976.         surfaceparm water
  977.     
  978.         cull disable
  979.         deformVertexes wave 64 sin .25 .25 0 .5    
  980.         { 
  981.             map textures/liquids/pool3d_5e.tga
  982.             blendFunc GL_dst_color GL_one
  983.             rgbgen identity
  984.             tcmod scale .5 .5
  985.             tcmod scroll .025 .01
  986.         }
  987.     
  988.         { 
  989.             map textures/liquids/pool3d_3f.tga
  990.             blendFunc GL_dst_color GL_one
  991.             rgbgen identity
  992.             tcmod scale -1 -1
  993.             tcmod scroll .025 .025
  994.         }
  995.  
  996.     
  997.         {
  998.             map $lightmap
  999.             blendFunc GL_dst_color GL_zero
  1000.             rgbgen identity        
  1001.         }
  1002.     
  1003.     
  1004.     }
  1005.  
  1006. textures/liquids/water_xlab2
  1007.  
  1008.         
  1009.     {
  1010.         qer_editorimage textures/liquids/water_m6.tga
  1011.         qer_trans .5
  1012.         q3map_globaltexture
  1013.         surfaceparm trans
  1014.         surfaceparm nonsolid
  1015.         surfaceparm water
  1016.     
  1017.         cull disable
  1018.         deformVertexes wave 64 sin .25 .25 0 .5    
  1019.         { 
  1020.             map textures/liquids/water_m6.tga
  1021.             blendFunc GL_dst_color GL_one
  1022.             rgbgen identity
  1023.             tcmod scale .5 .5
  1024.             tcmod scroll .025 .01
  1025.         }
  1026.     
  1027.         { 
  1028.             map textures/liquids/water_m7.tga
  1029.             blendFunc GL_dst_color GL_one
  1030.             rgbgen identity
  1031.             tcmod scale -1 -1
  1032.             tcmod scroll .025 .025
  1033.         }
  1034.  
  1035.     
  1036.         {
  1037.             map $lightmap
  1038.             blendFunc GL_dst_color GL_zero
  1039.             rgbgen identity        
  1040.         }
  1041.     
  1042.     
  1043.     }
  1044.  
  1045. textures/liquids/water_mxwld
  1046.  
  1047.         
  1048.     {
  1049.         qer_editorimage textures/liquids/water_m6.tga
  1050.         qer_trans .5
  1051.         q3map_globaltexture
  1052.         surfaceparm trans
  1053.         surfaceparm nonsolid
  1054.         surfaceparm water
  1055.     
  1056.         cull disable
  1057.         deformVertexes wave 64 sin .25 .25 0 .5    
  1058.         { 
  1059.             map textures/liquids/water_m6.tga
  1060.             blendFunc GL_dst_color GL_one
  1061.             rgbgen identity
  1062.             tcmod scale .5 .5
  1063.             tcmod scroll .025 .01
  1064.         }
  1065.     
  1066.     //    { 
  1067.     //        map textures/liquids/water_m7.tga
  1068.     //        blendFunc GL_dst_color GL_one
  1069.     //        rgbgen identity
  1070.     //        tcmod scale -1 -1
  1071.     //        tcmod scroll .025 .025
  1072.     //    }
  1073.  
  1074.     
  1075.         {
  1076.             map $lightmap
  1077.             blendFunc GL_dst_color GL_zero
  1078.             rgbgen identity        
  1079.         }
  1080.     
  1081.     
  1082.     }
  1083.  
  1084.  
  1085.  
  1086. //// maxx trans water
  1087.  
  1088. textures/liquids/water_ripple3_rc
  1089.  
  1090. //    *********************************************************
  1091. //    *                  Maxx                *
  1092. //    *              Comment all changes                       *
  1093. //    *********************************************************
  1094.         
  1095.     {
  1096.         qer_editorimage textures/liquids/water_m1.tga
  1097.         qer_trans .5
  1098.         q3map_globaltexture
  1099.         surfaceparm trans
  1100.         surfaceparm nonsolid
  1101.         surfaceparm water
  1102.     
  1103.         cull disable
  1104.         deformVertexes wave 64 sin .5 .2 0 .5    
  1105.         { 
  1106.             map textures/liquids/water_m5.tga
  1107.             blendFunc GL_dst_color GL_one
  1108.             rgbgen identity
  1109.             tcmod scale .3 .5
  1110.             tcmod stretch 0 1 .01 0 .25 1
  1111.             tcmod scroll .015 .005
  1112.         }    
  1113.  
  1114.     
  1115.         { 
  1116.         //    map textures/liquids/water_m1.tga
  1117.             map textures/liquids/water_m4.tga
  1118.             blendFunc GL_dst_color GL_one
  1119.             rgbgen identity        
  1120.             tcmod scale -.4 .3
  1121.         //    tcmod stretch 0 1 .01 0 .25 1
  1122.         //    tcmod rotate 5 
  1123.             tcmod scroll -.015 .0051
  1124.         }
  1125.  
  1126.         { 
  1127.         //    map textures/liquids/water_m1.tga
  1128.             map textures/liquids/water_m4.tga
  1129.             blendFunc GL_dst_color GL_one
  1130.             rgbgen identity
  1131.             tcmod scale .4 .5
  1132.         //    tcmod stretch 0 1 .01 0 .25 1
  1133.             tcmod scroll -.005 -.0155
  1134.         }
  1135.     
  1136.         {
  1137.             map $lightmap
  1138.             blendFunc GL_dst_color GL_zero
  1139.             rgbgen identity        
  1140.         }
  1141.     
  1142.  
  1143. //    END
  1144.     }
  1145.  
  1146. textures/liquids/water_xlab_op
  1147.  
  1148. //Sippy test water, part 2
  1149.         
  1150.     {
  1151.         qer_editorimage textures/liquids/pool3d_3c.tga
  1152.         qer_trans .5
  1153.         q3map_globaltexture
  1154.         //surfaceparm trans
  1155.         surfaceparm nonsolid
  1156.         surfaceparm water
  1157.     
  1158.         cull disable
  1159.         
  1160.         { 
  1161.             map textures/liquids/pool3d_5c.tga
  1162.             blendFunc GL_dst_color GL_one
  1163.             rgbgen identity
  1164.             tcmod scale .5 .5
  1165.             tcmod transform 1.5 0 1.5 1 1 2
  1166.             tcmod scroll -.05 .001
  1167.         }
  1168.     
  1169.         { 
  1170.             map textures/liquids/pool3d_6c.tga
  1171.             blendFunc GL_dst_color GL_one
  1172.             rgbgen identity
  1173.             tcmod scale .5 .5
  1174.             tcmod transform 0 1.5 1 1.5 2 1
  1175.             tcmod scroll .025 -.001
  1176.         }
  1177.  
  1178.         { 
  1179.             map textures/liquids/pool3d_3c.tga
  1180.             blendFunc GL_dst_color GL_one
  1181.             rgbgen identity
  1182.             tcmod scale .25 .5
  1183.             tcmod scroll .001 .025
  1184.         }
  1185.     
  1186.         {
  1187.             map $lightmap
  1188.             blendFunc GL_dst_color GL_zero
  1189.             rgbgen identity        
  1190.         }
  1191.     
  1192.  
  1193. //    END
  1194.     }
  1195.  
  1196.  
  1197. textures/liquids/lake_m01
  1198. {
  1199.     nocompress
  1200.     qer_editorimage textures/liquids/lake_m1.tga
  1201.     qer_trans .5
  1202.     q3map_globaltexture
  1203.     surfaceparm trans
  1204.     surfaceparm nonsolid
  1205.     surfaceparm water
  1206.     surfaceparm nomarks    // don't play ripple effects when shooting into water
  1207. //    tesssize 128
  1208.     cull disable
  1209.     nofog
  1210. //    deformVertexes wave 1024 sin 0 5 0 .3    // the chop
  1211.  
  1212.     waterfogvars ( 0.1 0.1 0.1 ) 300
  1213. //    waterfogvars ( 0.1 0.1 0.1 ) .005
  1214.     {
  1215.         fog on
  1216.         map $lightmap
  1217.         blendFunc GL_dst_color GL_zero
  1218.         rgbgen identity        
  1219.     }
  1220.  
  1221.     { 
  1222.         fog on
  1223.         map textures/liquids/lake_m1.tga
  1224.         rgbgen identity
  1225.         tcmod scale .4 .3
  1226.     //    tcmod scroll .0075 -.0025
  1227.         tcmod scroll .0035 -.0012
  1228.     //    tcmod turd 10 1 0 5
  1229.     //    tcmod stretch sin 1 .005 0 .06
  1230.         tcmod stretch sin 1 .005 0 .03
  1231.     }
  1232.     
  1233.     { 
  1234.         map textures/liquids/lake_m1.tga
  1235.         blendFunc GL_dst_color GL_one
  1236.         rgbgen identity        
  1237.         tcmod scale .4 .3
  1238.         tcmod scroll -.00075 .00025
  1239.     //    tcmod stretch sin 1 .005 0 .02
  1240.         tcmod transform 1.5 0 1.5 1 1 2
  1241.     }
  1242.  
  1243.     
  1244.     { 
  1245.         map textures/liquids/lake_m2.tga
  1246.         blendFunc GL_dst_color GL_one
  1247.         rgbgen identity        
  1248.         tcmod scale .18 .28
  1249.     //    tcmod scroll .001 .001
  1250.     }
  1251. }
  1252.  
  1253.  
  1254.  
  1255.  
  1256. textures/liquids/river_m01
  1257. {
  1258.     nocompress
  1259.     qer_editorimage textures/liquids/ocean_m1b.tga
  1260.     qer_trans .5
  1261.     q3map_globaltexture
  1262.     surfaceparm trans
  1263.     surfaceparm nonsolid
  1264.     surfaceparm water
  1265.     surfaceparm nomarks    // don't play ripple effects when shooting into water
  1266. //    tesssize 128
  1267.     cull disable
  1268.     nofog
  1269. //    deformVertexes wave 160 sin 0 10 0 .3    // the chop
  1270.  
  1271.     waterfogvars ( 0.1 0.1 0.1 ) 300
  1272. //    waterfogvars ( 0.1 0.1 0.1 ) .005
  1273.     {
  1274.         fog on
  1275.         map $lightmap
  1276.         blendFunc GL_dst_color GL_zero
  1277.         rgbgen identity        
  1278.     }
  1279.  
  1280. //    { 
  1281. //        fog on
  1282. //        map textures/liquids/lake_m1.tga
  1283. //        rgbgen identity
  1284. //        tcmod scale .2 .4
  1285. //        tcmod scroll .005 .005
  1286. //    }    
  1287. //
  1288.  
  1289. //   water effect used ///  
  1290.     { 
  1291.         fog on
  1292.         map textures/liquids/lake_m1.tga
  1293.         rgbgen identity
  1294.         tcmod scale .4 .3
  1295.         tcmod scroll .0075 -.0025
  1296.     //    tcmod turd 10 1 0 5
  1297.         tcmod stretch sin 1 .005 0 .06
  1298.     }
  1299.     
  1300.     { 
  1301.         map textures/liquids/river_m2.tga
  1302.         blendFunc GL_dst_color GL_one
  1303.         rgbgen identity        
  1304.         tcmod scale -.12 .2
  1305.     //    tcmod scroll .005 .005
  1306.     }
  1307. }
  1308.  
  1309. textures/liquids/water_beach
  1310. {
  1311.     qer_editorimage textures/liquids/ocean_m1b.tga
  1312.     qer_trans .5
  1313.     q3map_globaltexture
  1314.     surfaceparm trans
  1315.     surfaceparm nonsolid
  1316.     surfaceparm water
  1317.     surfaceparm nomarks    // don't play ripple effects when shooting into water
  1318.     tesssize 256
  1319.     
  1320.     cull disable
  1321.     nofog
  1322.     deformVertexes wave 160 sin 0 10 0 .3    // the chop
  1323.  
  1324.     waterfogvars ( 0.1 0.1 0.1 ) 512
  1325. //    waterfogvars ( 0.1 0.1 0.1 ) .005
  1326.     {
  1327.         fog on
  1328.         map $lightmap
  1329.         blendFunc GL_dst_color GL_zero
  1330.         rgbgen identity        
  1331.     }
  1332.  
  1333.     { 
  1334.         fog on
  1335.         map textures/liquids/ocean_m1.tga
  1336.         rgbgen identity
  1337.         tcmod scale .4 .2
  1338.         tcmod scroll .00 -.01
  1339.     }    
  1340.  
  1341.     
  1342.     { 
  1343.         map textures/liquids/ocean_m2.tga
  1344.         blendFunc GL_dst_color GL_one
  1345.         rgbgen identity        
  1346.         tcmod scale -.6 .5
  1347.         tcmod scroll -.01 -.01
  1348.     }
  1349. }
  1350.  
  1351. textures/liquids/water_dam        
  1352. {
  1353.     qer_editorimage textures/liquids/ocean_m1b.tga
  1354.     qer_trans .5
  1355.     q3map_globaltexture
  1356.     surfaceparm trans
  1357.     surfaceparm nonsolid
  1358.     surfaceparm water
  1359.     cull disable
  1360.      waterfogvars ( 0.1 0.115 0.1 ) 512
  1361.  
  1362.     { 
  1363.         map textures/liquids/ocean_m1b.tga
  1364.         rgbgen identity
  1365.         tcmod scale .8 .7
  1366.         tcmod scroll .00 -.03
  1367.     }
  1368.     
  1369.     {
  1370.            map $lightmap
  1371.         blendFunc GL_dst_color GL_zero
  1372.         rgbgen identity        
  1373.     }
  1374.     
  1375. }
  1376. textures/liquids/water_dam01.tga        
  1377. {
  1378.     qer_editorimage textures/liquids/water_dam01.tga
  1379.     qer_trans .5
  1380.     q3map_globaltexture
  1381.     surfaceparm trans
  1382.     surfaceparm nonsolid
  1383.     surfaceparm water
  1384.     cull disable
  1385.      waterfogvars ( 0.1 0.115 0.1 ) 512
  1386.  
  1387.     { 
  1388.         map textures/liquids/water_dam01.tga
  1389.         rgbgen identity
  1390.         tcmod scale .8 .7
  1391.         tcmod scroll .00 -.03
  1392.     }
  1393.     
  1394.     {
  1395.            map $lightmap
  1396.         blendFunc GL_dst_color GL_zero
  1397.         rgbgen identity        
  1398.     }
  1399.     
  1400. }
  1401. textures/liquids/water_dam02.tga        
  1402. {
  1403.     qer_editorimage textures/liquids/water_dam02.tga
  1404.     qer_trans .5
  1405.     q3map_globaltexture
  1406.     surfaceparm trans
  1407.     surfaceparm nonsolid
  1408.     surfaceparm water
  1409.     cull disable
  1410.      waterfogvars ( 0.1 0.115 0.1 ) 512
  1411.  
  1412.     { 
  1413.         map textures/liquids/water_dam02.tga
  1414.         rgbgen identity
  1415.         tcmod scale .8 .7
  1416.         tcmod scroll .00 -.03
  1417.     }
  1418.     
  1419.     {
  1420.            map $lightmap
  1421.         blendFunc GL_dst_color GL_zero
  1422.         rgbgen identity        
  1423.     }
  1424.     
  1425. }
  1426. textures/liquids/water_dam03.tga        
  1427. {
  1428.     qer_editorimage textures/liquids/water_dam03.tga
  1429.     qer_trans .5
  1430.     q3map_globaltexture
  1431.     surfaceparm trans
  1432.     surfaceparm nonsolid
  1433.     surfaceparm water
  1434.     cull disable
  1435.      waterfogvars ( 0.1 0.115 0.1 ) 512
  1436.  
  1437.     { 
  1438.         map textures/liquids/water_dam03.tga
  1439.         rgbgen identity
  1440.         tcmod scale .8 .7
  1441.         tcmod scroll .00 -.03
  1442.     }
  1443.     
  1444.     {
  1445.            map $lightmap
  1446.         blendFunc GL_dst_color GL_zero
  1447.         rgbgen identity        
  1448.     }
  1449.     
  1450. }
  1451.  
  1452.  
  1453.  
  1454. textures/liquids/pond_m2
  1455. {
  1456.     nocompress
  1457.     qer_editorimage textures/liquids/pond_m2.tga
  1458.     qer_trans .5
  1459.     q3map_globaltexture
  1460.     surfaceparm trans
  1461.     surfaceparm nonsolid
  1462.     surfaceparm water
  1463.     surfaceparm nomarks    // don't play ripple effects when shooting into water
  1464. //    tesssize 128
  1465.     cull disable
  1466.     nofog
  1467. //    deformVertexes wave 160 sin 0 10 0 .3    // the chop
  1468.  
  1469.     waterfogvars ( 0.25 0.15 0.1 ) 1024
  1470.  
  1471.     {
  1472.         fog on
  1473.         map $lightmap
  1474.         blendFunc GL_dst_color GL_zero
  1475.         rgbgen identity        
  1476.     }
  1477.  
  1478.  
  1479.  
  1480. //   water effect used ///  
  1481.     { 
  1482.         fog on
  1483.         map textures/liquids/pond_m1.tga
  1484.         rgbgen identity
  1485.         tcmod scale 1 .5
  1486.         tcmod scroll .00075 -.00025
  1487.     //    tcmod turd 0 1 0 1
  1488.         tcmod stretch sin .5 .005 0 .015
  1489.     }
  1490.     
  1491.     { 
  1492.         map textures/liquids/pond_m2.tga
  1493.         blendFunc GL_dst_color GL_one
  1494.         rgbgen identity        
  1495.     //    tcmod scale -.12 .2
  1496.  
  1497.     }
  1498. }
  1499.  
  1500. textures/liquids/water_endcastle
  1501.  
  1502. //Sippy's Test Water #2
  1503.         
  1504.     {
  1505.         qer_editorimage textures/liquids/pool3d_3f.tga
  1506.         qer_trans .5
  1507.         q3map_globaltexture
  1508.         surfaceparm trans
  1509.         surfaceparm nonsolid
  1510.         surfaceparm water
  1511.     
  1512.         cull disable
  1513.         deformVertexes wave 64 sin .25 .25 0 .5    
  1514.  
  1515.     waterfogvars ( 0.25 0.15 0.1 ) 1024
  1516.  
  1517.         { 
  1518.             map textures/liquids/pool3d_5e.tga
  1519.             blendFunc GL_dst_color GL_one
  1520.             rgbgen identity
  1521.             tcmod scale .5 .5
  1522.             tcmod scroll .025 .01
  1523.         }
  1524.     
  1525.         { 
  1526.             map textures/liquids/pool3d_3f.tga
  1527.             blendFunc GL_dst_color GL_one
  1528.             rgbgen identity
  1529.             tcmod scale -1 -1
  1530.             tcmod scroll .025 .025
  1531.         }
  1532.  
  1533.     
  1534.         {
  1535.             map $lightmap
  1536.             blendFunc GL_dst_color GL_zero
  1537.             rgbgen identity        
  1538.         }
  1539.     
  1540.     
  1541.     }
  1542.  
  1543. textures/liquids/water_norway
  1544.  
  1545.  
  1546. //    *********************************************************
  1547. //    *                 Rich                *
  1548. //    *              Comment all changes                       *
  1549. //    *********************************************************
  1550.         
  1551.     {
  1552.         qer_editorimage textures/liquids/ocean_m1b.tga
  1553.         qer_trans .5
  1554.         q3map_globaltexture
  1555.         surfaceparm trans
  1556.         surfaceparm nonsolid
  1557.         surfaceparm water
  1558.         cull disable
  1559.         deformVertexes wave 32 sin 0 10 .75 .1
  1560.         waterfogvars ( 0.1 0.13 0.1 ) 600
  1561.         tesssize 512        
  1562.     
  1563.         { 
  1564.             map textures/liquids/ocean_m1b.tga
  1565.             rgbgen identity
  1566.             tcmod scale .8 .7
  1567.             tcmod scroll .00 -.01
  1568.         }
  1569.     
  1570.  
  1571.         {
  1572.                map $lightmap
  1573.             blendFunc GL_dst_color GL_zero
  1574.             rgbgen identity        
  1575.         }
  1576.     
  1577.  
  1578.     }
  1579.  
  1580. textures/liquids/dig_water1
  1581.  
  1582. //    *********************************************************
  1583. //    *      digger water for the sipinator              *
  1584. //    *              Comment all changes                   *
  1585. //    *********************************************************
  1586.         
  1587.     {
  1588.         qer_editorimage textures/liquids/pool3d_3c.tga
  1589.         qer_trans .5
  1590.         q3map_globaltexture
  1591.         surfaceparm trans
  1592.         surfaceparm nonsolid
  1593.         surfaceparm water
  1594.         q3map_lightimage textures/liquids/bluewater.tga
  1595.         q3map_surfacelight 100
  1596.            light 1
  1597.         nofog
  1598.         cull disable
  1599.         
  1600.         { 
  1601.         fog on
  1602.             map textures/liquids/pool3d_5c.tga
  1603.             blendFunc GL_dst_color GL_one
  1604.             rgbgen identity
  1605.             tcmod scale .5 .5
  1606.             tcmod transform 1.5 0 1.5 1 1 2
  1607.             tcmod scroll -.05 .001
  1608.         }
  1609.     
  1610.         { 
  1611.         fog on
  1612.             map textures/liquids/pool3d_6c.tga
  1613.             blendFunc GL_dst_color GL_one
  1614.             rgbgen identity
  1615.             tcmod scale .5 .5
  1616.             tcmod transform 0 1.5 1 1.5 2 1
  1617.             tcmod scroll .025 -.001
  1618.         }
  1619.  
  1620.         { 
  1621.             map textures/liquids/pool3d_3c.tga
  1622.             blendFunc GL_dst_color GL_one
  1623.             rgbgen identity
  1624.             tcmod scale .25 .5
  1625.             tcmod scroll .001 .025
  1626.         }
  1627.     
  1628.     //    {
  1629.     //        map $lightmap
  1630.     //        blendFunc GL_dst_color GL_zero
  1631.     //        rgbgen identity        
  1632.     //    }
  1633.     
  1634.  
  1635. //    END
  1636.     }
  1637.  
  1638.  
  1639.  
  1640.  
  1641.